// editPassword

import request from "../utils/request";

export const editPassword = data => {
    return request({
        url: '/user/editPassword',
        method: 'post',
        data,
    })
}

export const GetProfileDonateLogs = () => {
    return request({
        url: '/user/getProfileDonateLogs',
        method: 'get',
    })
}

export const editProfile = data => {
    return request({
        url: '/user/editProfile',
        method: 'post',
        data,
    })
}
//bindqq

export const BindQQ = access => {
    return request({
        url: '/user/bindqq?access=' + access,
        method: 'get'
    })
}

export const getMessage = data => {
    return request({
        url: '/user/getMessage',
        method: 'post',
        data,
    })
}